package com.ocom.common.request.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class GetPointMealSendReportsRequest implements Serializable {

    private static final long serialVersionUID = 4729878298970560633L;

    @JsonProperty("comId")
    @NotNull(message = "comId 不能为空")
    private Long comId;

    private Long pointId;

    private Long receiptId;

    private String receiptName;

    @NotBlank(message = "startTime 不能为空")
    private String startTime;

    @NotBlank(message = "endTime 不能为空")
    private String endTime;

    Integer mealNo;

    //1 正常获取汇总  2 获取厦门打印菜品信息
    Integer type = 1;
}
